<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
	<div region="center" style="padding:1px;">
		<t:datagrid name="cbsAppVersionList" checkbox="true" fitColumns="false" title="APP系统版本信息" 
			actionUrl="cbsAppVersionController.do?datagrid" idField="id" fit="true" queryMode="group">
			<t:dgCol title="主键"			field="id"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
			<t:dgCol title="版本号"			field="version"			queryMode="group"  width="200"></t:dgCol>
			<t:dgCol title="创建人名称"		field="createName"		queryMode="group"  width="120"></t:dgCol>
			<t:dgCol title="创建人登录名称"  field="createBy"		queryMode="group"  width="120"></t:dgCol>
			<t:dgCol title="创建日期"		field="createDate"		formatter="yyyy-MM-dd"   queryMode="group"  width="120"></t:dgCol>
			<t:dgCol title="更新人名称"		field="updateName"		queryMode="group"  width="120"></t:dgCol>
			<t:dgCol title="更新人登录名称"	field="updateBy"		queryMode="group"  width="120"></t:dgCol>
			<t:dgCol title="更新日期"		field="updateDate"		formatter="yyyy-MM-dd"   queryMode="group"  width="120"></t:dgCol>
			
			<t:dgToolBar title="录入" icon="icon-add" url="cbsAppVersionController.do?goAdd" funname="add"></t:dgToolBar>
			<t:dgToolBar title="编辑" icon="icon-edit" url="cbsAppVersionController.do?goUpdate" funname="update"></t:dgToolBar>
		</t:datagrid>
	</div>
</div>
<script type="text/javascript">
$(document).ready(function(){
		//给时间控件加上样式
	$("#cbsAppVersionListtb").find("input[name='createDate_begin']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
	$("#cbsAppVersionListtb").find("input[name='createDate_end']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
	$("#cbsAppVersionListtb").find("input[name='updateDate_begin']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
	$("#cbsAppVersionListtb").find("input[name='updateDate_end']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
});
</script>